package com.tianbao54.kotlin_01

interface A {

    fun method() {
        println("a interface")
    }
}

open class B  {

    open fun method () {
        println("b ")
    }
}

class C : A, B() {

    override fun method() {
        super<A>.method()
        super<B>.method()
    }
}

fun main(args: Array<String>) {

    var c = C ()
    c.method()
}